package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.pojo.CheckGroup;

import java.util.List;

public interface CheckGroupService {
    void add(CheckGroup checkGroup, Integer... checkitemIds);

    PageResult findpage(Integer currentPage, Integer pageSize, String queryString);

    CheckGroup findById(int id);

    List<Integer> selectCheckitemIdsById(int id);

    void edit(CheckGroup checkGroup, Integer... checkitemIds);

    void delete(int id);

    List<CheckGroup> findAll();
}
